using Project_Schedule;
using Project_Schedule.Model;

var builder = WebApplication.CreateBuilder(args);

await EFAuxiliary.Ef_Core_SystemInitialization(builder.Configuration);

Assemble_System.Assemble_Service(builder: builder);
Assemble_System.Assemble_Scoped(builder: builder);
Assemble_System.Assemble_Transient(builder: builder);
Assemble_System.Assemble_Singleton(builder: builder);

var app = builder.Build();

Assemble_System.Assemble_StartUp(application: app);

app.Run();